package com.shiyingzi.security.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.shiyingzi.basics.model.BasicsEntity;


//@Entity
//@Table(name = "user_role")
//@Where(clause = "delete_flag='N'")
@TableName("user_role")
public class UserRole extends BasicsEntity{
	private static final long serialVersionUID = 6873249678940636024L;

//	@Column(name = "user_id", columnDefinition="int comment '用户编号'")
	@TableField(value = "user_id")
	private Integer userId;
	
//	@Column(name = "role_id", columnDefinition="int comment '角色编号'")
	@TableField(value = "role_id")
	private Integer roleId;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "UserRole [userId=" + userId + ", roleId=" + roleId + "]";
	}
	
	
	
}
